Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create balancing-efficiency-and-quality-with-ondemand-environments.md #318

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

2BlackCoffees
Copy link

Title

Balancing Efficiency and Quality with On-Demand Environments

Version

Designation of iteration on the pattern. This will initially be assigned by the patterns working group

Submitted By

Jean-Philippe Ulpiano

Published Date

The date this version of the pattern is published. This will be provided by the patterns working group upon approval

Intent

Quality cannot be considered as a trade off to reduce carbon footprint as it would result in creasing it for a largely successful application not working properly.

Tags

---
tags:
 - cloud
---

Problem

This pattern explains how to reduce carbon footprint for non prod environment deactivating unnecessary environments automatically.

Solution

It will spin up environments on demand.

SCI Impact

How will this pattern affect an SCI score of an application and why

`SCI = (E * I) + M per R`

E: Less environment means less energy.
M: Can lead to an improve of embodied carbon.

Assumptions

What are the assumptions being made

Pros & Cons

Discussion section for pros and cons of this pattern

- **PRO**: Reduce emissions reduce costs, increase heavily deployment quality tested for each environment spin up.
- **CON**: Need time to spin up a new environment.

@russelltrow russelltrow added initial review proposed pattern An idea for a new pattern to submit labels May 13, 2024
@russelltrow
Copy link
Member

Hey @2BlackCoffees thank you so much for raising these PRs. We will get them reviewed.

@@ -0,0 +1,41 @@
# Balancing Efficiency and Quality with On-Demand Environments

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Titles should be in sentence casing.

Suggested change
# Balancing Efficiency and Quality with On-Demand Environments
# Balancing efficiency and quality with on-demand environments

## SCI Impact

`SCI = (E * I) + M per R`
[Software Carbon Intensity Spec](https://grnsft.org/sci)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just realized that this link is no longer working(need to change for other patterns aswell)? can we point this to https://sci.greensoftware.foundation/

Suggested change
[Software Carbon Intensity Spec](https://grnsft.org/sci)
[Software Carbon Intensity Spec](https://sci.greensoftware.foundation)

Reducing the amount of deployed environments will impact SCI as follows:

- `E`: We reduce the total electricity required by reducing provisioned resources when not used.
- `M`: By reducing the amount of VMs running on underlying machines, the total embodied carbon can be lowered as CSPs might be careful in investing only in HWs to follow the demand.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- `M`: By reducing the amount of VMs running on underlying machines, the total embodied carbon can be lowered as CSPs might be careful in investing only in HWs to follow the demand.
- `M`: By reducing the number of virtual machines running on underlying hardware, customer service providers (CSPs) can lower the total embodied carbon as they should now invest only in hardware that aligns with demand.

An environment is not required to be up and running within the next seconds any time in the day or night.

## Considerations
Spinning up an environment might take time. This might be a drawbac.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Spinning up an environment might take time. This might be a drawbac.
Spinning up an environment might take time. This might be a drawback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
initial review proposed pattern An idea for a new pattern to submit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants